package com.demo.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy  //开启网关功能
@EnableDiscoveryClient  //开启Eureka客户端发现功能
public class DemoZuulApplication {
    public static void main(String[] args) {
                SpringApplication.run(DemoZuulApplication02.class,args);    }
}
